-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(shape): Integrate Shape API with more components #3552
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I had some more comments on this that I apparently never sent.
@@ -31,6 +31,7 @@ | |||
.mdc-top-app-bar { | |||
@include mdc-top-app-bar-fill-color-accessible(primary); | |||
@include mdc-top-app-bar-icon-ink-color(on-primary); | |||
@include mdc-top-app-bar-short-shape-radius(24px); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This style now has an extra class of specificity, which it doesn't really need. (I think changing the mixin's selector is the right call though, based on our intended pattern of applying mixins to a class on the root element.)
It should be possible to embed this within an @at-root
block instead, if we also handle the absence of &
within the mixin.
See https://github.com/material-components/material-components-web/pull/2238/files for an example.
Also, we should add dialog to this PR after syncing up from master. |
Codecov Report
@@ Coverage Diff @@
## feat/shape #3552 +/- ##
===========================================
Coverage 98.43% 98.43%
===========================================
Files 120 120
Lines 5192 5192
Branches 649 649
===========================================
Hits 5111 5111
Misses 81 81 Continue to review full report at Codecov.
|
🤖 Beep boop! Screenshot test report 🚦4 screenshots changed from Details |
🤖 Beep boop! Screenshot test report 🚦4 screenshots changed from Details |
This branch integrates shape API to following components:
SnackbarRefs #3176